<%@ page language="java" contentType="text/html; charset=UTF-8"
		 pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<title>日志管理</title>
    <jsp:include page="common/common_head.jsp"></jsp:include>


</head>
<body  data-spy="scroll" data-target=".navbar">



<jsp:include page="common/common_banner_app.jsp"></jsp:include>
<div style="height:30px"></div>
<div class="container">


    <ul class="breadcrumb">
        <li>目录:
            <span class="divider"><a href="/appManager/appManagerLogList.html?appName=${appName}&host=${host}&path=/">/</a></span>
        </li>
        <li>

            <c:forEach items="${pathDetail}" var="c">
                <li>
                    <span class="divider"><a href="/appManager/appManagerLogList.html?appName=${appName}&host=${host}&path=${c[1]}">${c[0]}</a></span>
                    <span class="divider">/</span>
                </li>

    </c:forEach>



    </ul>

	<table class="table  table-striped table-bordered table-hover " id = "showTable" style="width:100%">

		<thead>
			<tr>
				<th style="width: 50px">序号</th>
				<th>名称</th>
				<th>大小</th>
				<th>修改时间</th>

			</tr>
		</thead>
		<tbody>
		<c:forEach items="${files}" var="c" varStatus="v">
			<tr>
				<td>${v.index + 1}</td>
				<td>
                    <c:if test="${c.isDirectory}">
                        <a href="/appManager/appManagerLogList.html?appName=${appName}&host=${host}&path=${parent}/${c.name}">
                            <i class="icon-folder-open"></i>&nbsp;${c.name}</a>
                    </c:if>
                    <c:if test="${!c.isDirectory}">
                        <a href="/appManager/appManagerLogDetail.html?appName=${appName}&host=${host}&path=${parent}/${c.name}">
                            <i class="icon-file"></i>&nbsp;${c.name}
                        </a>
                    </c:if>
                </td>
				<td><c:if test="${!c.isDirectory}">${c.sizeString}</c:if></td>
				<td>${c.timeString}</td>

			</tr>
		</c:forEach>

		</tbody>

	</table>



	<jsp:include page="common/common_js.jsp"></jsp:include>



	<script>




	</script>
</body>
</html>